/*====================================================
	Importing bootstrap less files
====================================================*/
/*====================================================
	COLOR VARIABLE FOR THEME
====================================================*/
/* common */
/*====================================================
	common styles
====================================================*/
html,
body {
  color: #505050;
  line-height: 1.75em;
  background: #ebebeb;
  position: relative;
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "WenQuanYi Micro Hei", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  color: #303030;
}
h1 {
  font-size: 3em;
}
h2 {
  font-size: 2.5em;
}
h3 {
  font-size: 2em;
}
h4 {
  font-size: 1.5em;
}
h5 {
  font-size: 1em;
}
h6 {
  font-size: 0.75em;
}
a {
  color: #959595;
  outline: none;
}
a:hover {
  color: #0F88DE;
}
a:active,
a:focus,
a img {
  outline: none;
}
.btn {
  padding: 7px 14px;
  border-radius: 2px;
}
.btn-default {
  color: #fff;
  background-color: #0F88DE;
  border: 1px solid #ffffff;
  -webkit-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}
.btn-default:hover {
  border: 1px solid #303030;
  background: #303030;
  color: #ffffff;
}
.btn-default[disabled] {
  border: 1px solid #303030;
  background: #303030;
  color: #ffffff;
}
input[type="search"],
input[type="text"],
input[type="url"],
input[type="email"],
textarea {
  padding: 7px 7px;
  border: 1px solid #ebebeb;
  border-radius: 2px;
  -webkit-transition: all 0.2s;
       -o-transition: all 0.2s;
          transition: all 0.2s;
}
input[type="search"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 1px solid #0F88DE;
  outline: none;
}
blockquote {
  border-left: 4px solid #0F88DE;
}
pre {
  padding: 0;
  background: none;
  border: none;
}
::-moz-selection {
  color: #ffffff;
  background: #0F88DE;
  text-shadow: none;
}
::selection {
  color: #ffffff;
  background: #0F88DE;
  text-shadow: none;
}
/* header */
/*====================================================
	header
====================================================*/
.main-header {
  text-align: center;
  padding: 42px 0;
  background: rgba(5,110,234,.7);
}
.main-header .branding {
  font-size: 3.5em;
  color: #303030;
}
.main-header .branding:hover {
  text-decoration: none;
}
.main-header .branding img {
  max-width: 100%;
}
.main-header h1 {
  color: #fff;
}
.btn-doc {
  position: relative;
  bottom: -40px;
  background-color: transparent;
}
@media only screen and (max-width: 767px) {
  .btn-doc {
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
  }
}
.home-template .main-header {
  padding-top: 62px;
  padding-bottom: 62px;
  background-repeat: no-repeat;
  background-position: center 20%;
  -webkit-background-size: cover;
          background-size: cover;
}
/* main-navigation */
.main-navigation {
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #ebebeb;
  margin-bottom: 35px;
  border-bottom: 2px solid #e1e1e1;
}
.main-navigation .menu {
  padding: 0;
  margin: 0;
}
.main-navigation .menu li {
  list-style: none;
  display: inline-block;
  position: relative;
}
.main-navigation .menu li.nav-current {
  border-bottom: 2px solid #0F88DE;
  margin-bottom: -2px;
}
.main-navigation .menu li a {
  color: #505050;
  line-height: 4em;
  display: block;
  padding: 0 21px;
}
.main-navigation .menu li:hover > a {
  color: rgb(5,110,234);
  text-decoration: none;
}
.main-navigation .menu li ul {
  visibility: hidden;
  background: #ffffff;
  text-align: left;
  padding: 7px 0;
  margin: 0;
  position: absolute;
  left: 0;
  top: 120%;
  width: 200px;
  z-index: 999;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.2s ease;
       -o-transition: all 0.2s ease;
          transition: all 0.2s ease;
}
.main-navigation .menu li ul li {
  display: block;
  margin: 0;
}
.main-navigation .menu li ul li a {
  line-height: 2.5em;
  color: #505050;
}
.main-navigation .menu li ul:hover > a {
  color: rgb(5,110,234);
}
.main-navigation .menu li:hover ul {
  visibility: visible;
  opacity: 1;
  filter: alpha(opacity=100);
  top: 100%;
}
@media (max-width: 767px) {
  .main-navigation {
    text-align: left;
  }
  .main-navigation .menu li {
    display: block;
  }
  .main-navigation .menu li:hover > a {
    color: rgb(5,110,234);
    text-decoration: none;
  }
  .main-navigation .menu li ul {
    visibility: visible;
    padding: 0 0 0 20px;
    margin: 0;
    position: relative;
    top: 0;
    width: 100%;
    opacity: 1;
    filter: alpha(opacity=100);
  }
}
/* navbar */
.navbar-header {
  text-align: center;
}
.navbar-header i {
  height: 56px;
  line-height: 56px;
  font-size: 2em;
  cursor: pointer;
}
@media (min-width: 768px) {
  .nav-toggle-button {
    display: none;
  }
}
/* pagination */
/*====================================================
	pagination
====================================================*/
.pagination {
  /*margin: 0;*/
  text-align: center;
  display: block;
}
.pagination a {
  text-align: center;
  display: inline-block;
  color: #ffffff;
  background: #0F88DE;
  border-radius: 2px;
}
.pagination a a:hover {
  background: #505050;
  text-decoration: none;
  color: #ffffff;
}
.pagination a i {
  width: 36px;
  height: 36px;
  line-height: 36px;
}
.pagination .page-number {
  background: #0F88DE;
  color: #fff;
  margin: 0 3px;
  display: inline-block;
  line-height: 36px;
  padding: 0 14px;
  border-radius: 2px;
}
/* author */
/*====================================================
	about author and comment
====================================================*/
.about-author {
  background: #ffffff;
  padding: 35px;
  margin-bottom: 35px;
}
.about-author .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.about-author .details {
  margin-left: 114px;
}
.about-author .author {
  font-size: 1.5em;
  margin-bottom: 7px;
}
.about-author .author a:hover {
  text-decoration: none;
}
.about-author .meta-info {
  color: #959595;
  margin-bottom: 7px;
}
.about-author .meta-info span {
  margin-right: 14px;
  white-space: nowrap;
}
.about-author .meta-info span i {
  margin-right: 7px;
}
/* prev and next link */
.prev-next-wrap {
  margin-bottom: 35px;
  text-align: center;
}
@media (max-width: 767px) {
  .prev-next-wrap a {
    display: block;
  }
}
/* sidebar */
/*====================================================
	sidebar
====================================================*/
.sidebar .widget {
  background: #ffffff;
  padding: 21px 30px;
}
.main-footer .widget {
  padding: 0 30px;
}
.widget {
  margin-bottom: 35px;
}
.widget .title {
  margin-top: 0;
  padding-bottom: 7px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 21px;
  position: relative;
}
.widget .title:after {
  content: "";
  width: 90px;
  height: 1px;
  background: #0F88DE;
  position: absolute;
  left: 0;
  bottom: -1px;
}
.widget .recent-post .recent-single-post {
  border-bottom: 1px dashed #ebebeb;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.widget .recent-post .recent-single-post:last-child {
  margin-bottom: 0;
}
.widget .recent-post .recent-single-post .post-title {
  color: #505050;
  -webkit-transition: all 0.2s ease;
       -o-transition: all 0.2s ease;
          transition: all 0.2s ease;
}
.widget .recent-post .recent-single-post .post-title:hover {
  color: #0F88DE;
  text-decoration: none;
}
.widget .recent-post .recent-single-post .date {
  color: #959595;
}
.widget .tag-cloud a {
  border: 1px solid #ebebeb;
  padding: 2px 7px;
  color: #959595;
  line-height: 1.5em;
  display: inline-block;
  margin: 0 7px 7px 0;
  -webkit-transition: all 0.2s ease;
       -o-transition: all 0.2s ease;
          transition: all 0.2s ease;
}
.widget .tag-cloud a:hover {
  color: #ffffff;
  background: #0F88DE;
  border: 1px solid #fff;
  text-decoration: none;
}
.widget .social {
  padding: 0;
  margin: 0;
}
.widget .social li {
  display: inline-block;
  margin: 0 2px 5px 0;
  text-align: center;
}
.widget .social li a i {
  width: 35px;
  height: 35px;
  line-height: 35px;
  border: 1px solid #ebebeb;
  color: #959595;
  -webkit-transition: all 0.2s;
       -o-transition: all 0.2s;
          transition: all 0.2s;
}
.widget .social li:hover i {
  color: #ffffff;
  background: #0F88DE;
  border: 1px solid #0F88DE;
}
.widget .newsletter .input-group {
  margin-bottom: 10px;
  display: block;
}
.widget .newsletter .input-group .email,
.widget .newsletter .input-group btn {
  width: 100%;
}
.widget .ad {
  text-align: center;
}
.widget .ad img {
  max-width: 100%;
}
/* cover*/
/*====================================================
	Tag page & author page cover
====================================================*/
.cover {
  text-align: center;
  background: #ffffff;
  padding: 35px;
  margin-bottom: 35px;
}
.cover .tag-name {
  margin-top: 0;
}
.cover .post-count {
  margin-top: 7px;
  color: #959595;
}
.cover .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.cover .meta-info {
  color: #959595;
}
.cover .meta-info span {
  margin: 0 7px;
}
.cover .meta-info span i {
  margin-right: 7px;
}
.cover .bio {
  margin-top: 7px;
}
/* footer */
/*====================================================
	footer
====================================================*/
.main-footer {
  background: #202020;
  padding: 35px 0 0;
  color: #959595;
}
.main-footer .widget .title {
  color: #ffffff;
  border-bottom: 1px solid #303030;
}
.main-footer .widget .tag-cloud a {
  border: 1px solid #303030;
}
.main-footer .widget .tag-cloud a:hover {
  border: 1px solid #fff;
}
.main-footer .widget .friend-links a {
  border: none;
}
.main-footer .widget .friend-links a:hover {
  border: none;
}
.main-footer .widget .friend-links hr {
  margin: 1em 0;
  border-top: 1px dashed #303030;
}
.main-footer .widget .recent-post .recent-single-post {
  border-bottom: 1px dashed #303030;
}
.main-footer .widget .recent-post .recent-single-post .post-title {
  color: #959595;
}
.main-footer .widget .recent-post .recent-single-post .post-title:hover {
  color: #0F88DE;
}
.main-footer .widget .recent-post .recent-single-post .date {
  color: #505050;
}
.copyright {
  background: #111;
  font-size: 13px;
  text-align: center;
  color: #555555;
  padding: 10px 0;
  border-top: 1px solid #303030;
}
.copyright span {
  margin: 0 .5em;
}
.copyright a {
  color: #555555;
}
#back-to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: rgba(5, 100, 220, 0.6);
  color: #ffffff;
  text-align: center;
  border-radius: 2px;
  z-index: 1;
  display: none;
}
#back-to-top:hover {
  background: #0F88DE;
}
#back-to-top i {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

/*
=======
main
=======
*/
.main-content {
  background: #ffffff;
  padding: 20px 20px 0;
  margin-bottom: 20px;
}

.article-list {
  list-style: outside none none;
  margin: 0;
  padding: 0;
}
.article-list > li {
  border-bottom: 1px dashed #d9d9d9;
  box-sizing: border-box;
  margin: 0 0 15px;
  padding-bottom: 15px;
  padding-right: 2px;
  position: relative;
  width: 100%;
  word-wrap: break-word;
}
.article-list > li::before, .article-list > li::after {
  content: " ";
  display: block;
  height: 0;
}
.article-list > li::after {
  clear: both;
}
.article-list > li:last-child {
  border: medium none;
}
.article-list .list-top {
  font-size: 12px;
  margin: 8px 0;
}
.article-list .list-top .time {
  color: #717171;
  margin-left: 3px;
}
.article-list .title {
  display: inherit;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 10px;
  margin-left: 0;
  margin-top: 0;
}
.article-list .title a:empty::before {
  content: "你个泼猴竟然不写标题拉黑";
  display: inline-block;
  font-style: italic;
  text-decoration: line-through;
}
.article-list .avatar {
  height: 32px;
  position: absolute;
  right: 1px;
  top: 28px;
  width: 32px;
}
.article-list .list-footer {
  font-family: "lucida grande","lucida sans unicode",lucida,helvetica,"Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 20px;
}
.article-list .list-footer > a, .article-list .list-footer > span {
  color: #999999;
}
.article-list .list-footer > a:hover, .article-list .list-footer > span:hover {
  color: #717171;
}
.article-list .list-footer > a:hover {
  color: #717171;
}
.article-list .list-footer .origin-subscription {
  display: inline-block;
  position: relative;
}
.article-list .list-footer .origin-subscription > a {
  color: #999999;
}
.article-list .list-footer .origin-subscription > a:hover {
  color: #717171;
}
.article-list .list-footer .origin-subscription .list-group {
  left: -127px;
  padding-bottom: 0;
  width: 260px;
}
.article-list .list-footer .origin-subscription h5 {
  border-bottom: 1px solid #eeeeee;
  margin: 0;
  padding: 10px;
}
.article-list .list-footer .origin-subscription .list-group ul {
  margin: 0;
  max-height: 295px;
  overflow-y: auto;
}
.article-list .list-footer .origin-subscription li {
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 0;
  padding: 15px 10px 10px;
}
.article-list .list-footer .origin-subscription li:hover {
  background-color: #f6f6f6;
}
.article-list .list-footer .origin-subscription li:last-child {
  border-radius: 0 0 6px 6px;
}
.article-list .list-footer .origin-subscription li a {
  display: inline;
}
.article-list .list-footer .origin-subscription .title {
  font-size: 16px;
  padding: 0;
  white-space: pre;
}
.article-list .list-footer .origin-subscription .list-group .avatar {
  display: inline-block;
  position: relative;
  top: -5px;
}
.article-list .list-footer .origin-subscription .follow {
  border-radius: 4px;
  float: right;
  margin-left: 5px;
  padding: 0;
}
.article-list .list-footer .origin-subscription .follow .fa {
  padding: 0 3px;
}
.article-list .list-footer .origin-subscription .follow span {
  display: none;
}
.article-list .list-footer .origin-subscription span {
  color: #999999;
  display: block;
  font-family: "lucida grande","lucida sans unicode",lucida,helvetica,"Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.5;
  margin-top: 5px;
}
.article-list .have-img::before {
  content: "";
  display: table;
  line-height: 0;
}
.article-list .have-img::after {
  clear: both;
}
.article-list .have-img .wrap-img {
  float: right;
  height: 100px;
  width: 100px;
}
.article-list .have-img .wrap-img img {
  border: 1px solid #eeeeee;
  border-radius: 4px;
  box-sizing: border-box;
  height: 100px;
  width: 100%;
}
.article-list .have-img > div {
  padding-right: 110px;
}

.article-list li a {
  color: #555555;
  text-decoration: none;
}

.demo {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 40px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}

.demo-title {
  position: absolute;
  font-size: 20px;
  z-index: 9;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
}

.demo-title a {
  color: #777;
}

.demo-featured-image {
  position: relative;
  overflow: hidden;
}

.demo-featured-image .thumbnail {
  margin-bottom: 0;
  padding: 12px;
  border-radius: 0;
  border: none;
  width: 100%;
  top: 0;
  left: 0;
}
